package com.ft.f_springboot_route.bean;

import org.springframework.stereotype.Component;

@Component
public class Shop {
    private Integer shopId;
    private String shopName;
    private String shopTel;
    private String shopAddress;

    @Override
    public String toString() {
        return "Shop{" +
                "shopId=" + shopId +
                ", shopName='" + shopName + '\'' +
                ", shopTel='" + shopTel + '\'' +
                ", shopAddress='" + shopAddress + '\'' +
                '}';
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getShopTel() {
        return shopTel;
    }

    public void setShopTel(String shopTel) {
        this.shopTel = shopTel;
    }

    public String getShopAddress() {
        return shopAddress;
    }

    public void setShopAddress(String shopAddress) {
        this.shopAddress = shopAddress;
    }

    public Shop() {
    }

    public Shop(Integer shopId, String shopName, String shopTel, String shopAddress) {
        this.shopId = shopId;
        this.shopName = shopName;
        this.shopTel = shopTel;
        this.shopAddress = shopAddress;
    }
}
